cmake_minimum_required(VERSION 3.27)
project(OpenCV_init)

set(CMAKE_CXX_STANDARD 23)

find_package(OpenCV REQUIRED)
MESSAGE("OpenCV version : ${OpenCV_VERSION}")

add_executable(OpenCV_init_Mat src_imgs src_imgs.cpp src_imgs.h src_vec3b.cpp)

TARGET_LINK_LIBRARIES(OpenCV_init_Mat ${OpenCV_LIBS})